/****************************************************************************
** Meta object code from reading C++ file 'Client.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include <memory>
#include "../src/MQTT/Client.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Client.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_MQTT__Client_t {
    QByteArrayData data[52];
    char stringdata0[634];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MQTT__Client_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MQTT__Client_t qt_meta_stringdata_MQTT__Client = {
    {
QT_MOC_LITERAL(0, 0, 12), // "MQTT::Client"
QT_MOC_LITERAL(1, 13, 11), // "portChanged"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 11), // "hostChanged"
QT_MOC_LITERAL(4, 38, 12), // "topicChanged"
QT_MOC_LITERAL(5, 51, 15), // "usernameChanged"
QT_MOC_LITERAL(6, 67, 15), // "passwordChanged"
QT_MOC_LITERAL(7, 83, 16), // "connectedChanged"
QT_MOC_LITERAL(8, 100, 17), // "clientModeChanged"
QT_MOC_LITERAL(9, 118, 18), // "mqttVersionChanged"
QT_MOC_LITERAL(10, 137, 19), // "lookupActiveChanged"
QT_MOC_LITERAL(11, 157, 13), // "connectToHost"
QT_MOC_LITERAL(12, 171, 16), // "toggleConnection"
QT_MOC_LITERAL(13, 188, 18), // "disconnectFromHost"
QT_MOC_LITERAL(14, 207, 6), // "lookup"
QT_MOC_LITERAL(15, 214, 4), // "host"
QT_MOC_LITERAL(16, 219, 7), // "setPort"
QT_MOC_LITERAL(17, 227, 4), // "port"
QT_MOC_LITERAL(18, 232, 7), // "setHost"
QT_MOC_LITERAL(19, 240, 13), // "setClientMode"
QT_MOC_LITERAL(20, 254, 4), // "mode"
QT_MOC_LITERAL(21, 259, 8), // "setTopic"
QT_MOC_LITERAL(22, 268, 5), // "topic"
QT_MOC_LITERAL(23, 274, 11), // "setUsername"
QT_MOC_LITERAL(24, 286, 8), // "username"
QT_MOC_LITERAL(25, 295, 11), // "setPassword"
QT_MOC_LITERAL(26, 307, 8), // "password"
QT_MOC_LITERAL(27, 316, 14), // "setMqttVersion"
QT_MOC_LITERAL(28, 331, 12), // "versionIndex"
QT_MOC_LITERAL(29, 344, 8), // "sendData"
QT_MOC_LITERAL(30, 353, 15), // "resetStatistics"
QT_MOC_LITERAL(31, 369, 18), // "onConnectedChanged"
QT_MOC_LITERAL(32, 388, 14), // "lookupFinished"
QT_MOC_LITERAL(33, 403, 9), // "QHostInfo"
QT_MOC_LITERAL(34, 413, 4), // "info"
QT_MOC_LITERAL(35, 418, 7), // "onError"
QT_MOC_LITERAL(36, 426, 18), // "QMQTT::ClientError"
QT_MOC_LITERAL(37, 445, 5), // "error"
QT_MOC_LITERAL(38, 451, 17), // "registerJsonFrame"
QT_MOC_LITERAL(39, 469, 10), // "JFI_Object"
QT_MOC_LITERAL(40, 480, 9), // "frameInfo"
QT_MOC_LITERAL(41, 490, 17), // "onMessageReceived"
QT_MOC_LITERAL(42, 508, 14), // "QMQTT::Message"
QT_MOC_LITERAL(43, 523, 7), // "message"
QT_MOC_LITERAL(44, 531, 11), // "mqttVersion"
QT_MOC_LITERAL(45, 543, 10), // "clientMode"
QT_MOC_LITERAL(46, 554, 17), // "isConnectedToHost"
QT_MOC_LITERAL(47, 572, 12), // "lookupActive"
QT_MOC_LITERAL(48, 585, 12), // "mqttVersions"
QT_MOC_LITERAL(49, 598, 11), // "clientModes"
QT_MOC_LITERAL(50, 610, 11), // "defaultPort"
QT_MOC_LITERAL(51, 622, 11) // "defaultHost"

    },
    "MQTT::Client\0portChanged\0\0hostChanged\0"
    "topicChanged\0usernameChanged\0"
    "passwordChanged\0connectedChanged\0"
    "clientModeChanged\0mqttVersionChanged\0"
    "lookupActiveChanged\0connectToHost\0"
    "toggleConnection\0disconnectFromHost\0"
    "lookup\0host\0setPort\0port\0setHost\0"
    "setClientMode\0mode\0setTopic\0topic\0"
    "setUsername\0username\0setPassword\0"
    "password\0setMqttVersion\0versionIndex\0"
    "sendData\0resetStatistics\0onConnectedChanged\0"
    "lookupFinished\0QHostInfo\0info\0onError\0"
    "QMQTT::ClientError\0error\0registerJsonFrame\0"
    "JFI_Object\0frameInfo\0onMessageReceived\0"
    "QMQTT::Message\0message\0mqttVersion\0"
    "clientMode\0isConnectedToHost\0lookupActive\0"
    "mqttVersions\0clientModes\0defaultPort\0"
    "defaultHost"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MQTT__Client[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      27,   14, // methods
      13,  200, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       9,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  149,    2, 0x06 /* Public */,
       3,    0,  150,    2, 0x06 /* Public */,
       4,    0,  151,    2, 0x06 /* Public */,
       5,    0,  152,    2, 0x06 /* Public */,
       6,    0,  153,    2, 0x06 /* Public */,
       7,    0,  154,    2, 0x06 /* Public */,
       8,    0,  155,    2, 0x06 /* Public */,
       9,    0,  156,    2, 0x06 /* Public */,
      10,    0,  157,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    0,  158,    2, 0x0a /* Public */,
      12,    0,  159,    2, 0x0a /* Public */,
      13,    0,  160,    2, 0x0a /* Public */,
      14,    1,  161,    2, 0x0a /* Public */,
      16,    1,  164,    2, 0x0a /* Public */,
      18,    1,  167,    2, 0x0a /* Public */,
      19,    1,  170,    2, 0x0a /* Public */,
      21,    1,  173,    2, 0x0a /* Public */,
      23,    1,  176,    2, 0x0a /* Public */,
      25,    1,  179,    2, 0x0a /* Public */,
      27,    1,  182,    2, 0x0a /* Public */,
      29,    0,  185,    2, 0x08 /* Private */,
      30,    0,  186,    2, 0x08 /* Private */,
      31,    0,  187,    2, 0x08 /* Private */,
      32,    1,  188,    2, 0x08 /* Private */,
      35,    1,  191,    2, 0x08 /* Private */,
      38,    1,  194,    2, 0x08 /* Private */,
      41,    1,  197,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   15,
    QMetaType::Void, QMetaType::UShort,   17,
    QMetaType::Void, QMetaType::QString,   15,
    QMetaType::Void, QMetaType::Int,   20,
    QMetaType::Void, QMetaType::QString,   22,
    QMetaType::Void, QMetaType::QString,   24,
    QMetaType::Void, QMetaType::QString,   26,
    QMetaType::Void, QMetaType::Int,   28,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 33,   34,
    QMetaType::Void, 0x80000000 | 36,   37,
    QMetaType::Void, 0x80000000 | 39,   40,
    QMetaType::Void, 0x80000000 | 42,   43,

 // properties: name, type, flags
      17, QMetaType::UShort, 0x00495103,
      15, QMetaType::QString, 0x00495103,
      22, QMetaType::QString, 0x00495103,
      44, QMetaType::Int, 0x00495103,
      45, QMetaType::Int, 0x00495103,
      24, QMetaType::QString, 0x00495103,
      26, QMetaType::QString, 0x00495103,
      46, QMetaType::Bool, 0x00495001,
      47, QMetaType::Bool, 0x00495001,
      48, QMetaType::QStringList, 0x00095401,
      49, QMetaType::QStringList, 0x00095401,
      50, QMetaType::UShort, 0x00095401,
      51, QMetaType::QString, 0x00095401,

 // properties: notify_signal_id
       0,
       1,
       2,
       7,
       6,
       3,
       4,
       5,
       8,
       0,
       0,
       0,
       0,

       0        // eod
};

void MQTT::Client::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Client *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->portChanged(); break;
        case 1: _t->hostChanged(); break;
        case 2: _t->topicChanged(); break;
        case 3: _t->usernameChanged(); break;
        case 4: _t->passwordChanged(); break;
        case 5: _t->connectedChanged(); break;
        case 6: _t->clientModeChanged(); break;
        case 7: _t->mqttVersionChanged(); break;
        case 8: _t->lookupActiveChanged(); break;
        case 9: _t->connectToHost(); break;
        case 10: _t->toggleConnection(); break;
        case 11: _t->disconnectFromHost(); break;
        case 12: _t->lookup((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 13: _t->setPort((*reinterpret_cast< const quint16(*)>(_a[1]))); break;
        case 14: _t->setHost((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 15: _t->setClientMode((*reinterpret_cast< const int(*)>(_a[1]))); break;
        case 16: _t->setTopic((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 17: _t->setUsername((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 18: _t->setPassword((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 19: _t->setMqttVersion((*reinterpret_cast< const int(*)>(_a[1]))); break;
        case 20: _t->sendData(); break;
        case 21: _t->resetStatistics(); break;
        case 22: _t->onConnectedChanged(); break;
        case 23: _t->lookupFinished((*reinterpret_cast< const QHostInfo(*)>(_a[1]))); break;
        case 24: _t->onError((*reinterpret_cast< const QMQTT::ClientError(*)>(_a[1]))); break;
        case 25: _t->registerJsonFrame((*reinterpret_cast< const JFI_Object(*)>(_a[1]))); break;
        case 26: _t->onMessageReceived((*reinterpret_cast< const QMQTT::Message(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 23:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QHostInfo >(); break;
            }
            break;
        case 24:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QMQTT::ClientError >(); break;
            }
            break;
        case 25:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< JFI_Object >(); break;
            }
            break;
        case 26:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QMQTT::Message >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Client::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Client::portChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (Client::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Client::hostChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (Client::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Client::topicChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (Client::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Client::usernameChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (Client::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Client::passwordChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (Client::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Client::connectedChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (Client::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Client::clientModeChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (Client::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Client::mqttVersionChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (Client::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Client::lookupActiveChanged)) {
                *result = 8;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<Client *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< quint16*>(_v) = _t->port(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->host(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->topic(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->mqttVersion(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->clientMode(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->username(); break;
        case 6: *reinterpret_cast< QString*>(_v) = _t->password(); break;
        case 7: *reinterpret_cast< bool*>(_v) = _t->isConnectedToHost(); break;
        case 8: *reinterpret_cast< bool*>(_v) = _t->lookupActive(); break;
        case 9: *reinterpret_cast< QStringList*>(_v) = _t->mqttVersions(); break;
        case 10: *reinterpret_cast< QStringList*>(_v) = _t->clientModes(); break;
        case 11: *reinterpret_cast< quint16*>(_v) = _t->defaultPort(); break;
        case 12: *reinterpret_cast< QString*>(_v) = _t->defaultHost(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<Client *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setPort(*reinterpret_cast< quint16*>(_v)); break;
        case 1: _t->setHost(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->setTopic(*reinterpret_cast< QString*>(_v)); break;
        case 3: _t->setMqttVersion(*reinterpret_cast< int*>(_v)); break;
        case 4: _t->setClientMode(*reinterpret_cast< int*>(_v)); break;
        case 5: _t->setUsername(*reinterpret_cast< QString*>(_v)); break;
        case 6: _t->setPassword(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject MQTT::Client::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_MQTT__Client.data,
    qt_meta_data_MQTT__Client,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *MQTT::Client::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *MQTT::Client::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_MQTT__Client.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int MQTT::Client::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 27)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 27;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 27)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 27;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 13;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 13;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 13;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 13;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 13;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void MQTT::Client::portChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void MQTT::Client::hostChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void MQTT::Client::topicChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void MQTT::Client::usernameChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void MQTT::Client::passwordChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void MQTT::Client::connectedChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void MQTT::Client::clientModeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void MQTT::Client::mqttVersionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void MQTT::Client::lookupActiveChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
